package com.zwj.controller;


import com.zwj.bo.BatchBo;
import com.zwj.bo.CourseUserBo;
import com.zwj.dto.Result;
import com.zwj.service.CourseUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zwj
 * @since 2021-11-04
 */
@Api(value = "证书管理",tags="证书管理")
@RestController
@RequestMapping("/course-user-entity")
public class CourseUserController {
    private final CourseUserService courseUserService;

    public CourseUserController(CourseUserService courseUserService){
        this.courseUserService = courseUserService;
    }

    @ApiOperation(value = "条件查询证书", notes = "条件查询证书")
    @PostMapping("/selectCourseUser")
    public Result selectCourseUser(@RequestBody CourseUserBo courseUserBo) {
        return courseUserService.selectCourseUser(courseUserBo);
    }

}

